Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify announce tick event test #175

Closed
wants to merge 2 commits into from
Closed

Conversation

codygibb
Copy link
Contributor

@codygibb codygibb commented Jun 6, 2019

Now that announce does not rely on dispatcher.NumPeers() to determine
if a torrent is saturated (see #173), there is no nondeterministic behavior in announce
tick event and thus the the event test can be simplified.

@codecov-io
Copy link

Codecov Report

Merging #175 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #175      +/-   ##
==========================================
- Coverage    67.3%   67.28%   -0.02%     
==========================================
  Files         180      180              
  Lines        8811     8807       -4     
==========================================
- Hits         5930     5926       -4     
  Misses       2132     2132              
  Partials      749      749
Impacted Files Coverage Δ
lib/torrent/scheduler/events.go 70.73% <ø> (-0.43%) ⬇️
lib/torrent/scheduler/dispatch/dispatcher.go 49.5% <ø> (+0.16%) ⬆️
core/peer_info.go 83.33% <0%> (-5.56%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd763e3...6a3a8f8. Read the comment docs.

@codygibb codygibb closed this Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants